export type rpDirDataType = {
    children: rpDirDataType[],
    id: string,
    name: string,
    type: string,
    fullPath: string[],
    reportType: any
}

export type rpResultParams = {
    reportId: string | number,
    reportTime: string
}

export type rpResultData = {
    dataList: any,
    headers: string[],
    name: string,
    type: number,
    id: number | string,
    children: rpResultData[],
    level: number
}

export type rpDataItemTableDataParams = {
    dataId: string,
    page: number,
    limit: number
}

export type rpDataItemTableData = {
    endRow?: any,
    hasNextPage?: any,
    hasPreviousPage?: any,
    isFirstPage?: any,
    isLastPage?: any,
    list: any[],
    navigateFirstPage: any,
    navigateLastPage: any,
    navigatePages: any,
    navigatepageNums: any,
    nextPage: any,
    pageNum: any,
    pageSize: any,
    prePage: any,
    size: any,
    startRow: any,
    total: number,
}

export type ListByReport = {
    endRow: 0,
    hasNextPage: true,
    hasPreviousPage: true,
    isFirstPage: true,
    isLastPage: true,
    list: ListByReportList[],
    navigateFirstPage: 0,
    navigateLastPage: 0,
    navigatePages: 0,
    navigatepageNums: any[],
    nextPage: 0,
    pageNum: 0,
    pageSize: 0,
    pages: 0,
    prePage: 0,
    size: 0,
    startRow: 0,
    total: 0
}

export type ListByReportList = {
    createBy: string,
    createTime: string,
    fileSuffix: string,
    fileUrl: string,
    filename: string,
    id: 0,
    reportId: 0,
    reportTime: string
}

export type ListByReportParams = {
    reportId:string,
    fileName:string,
    reportTime:string,
    createStartTime:string,
    createEndTime:string,
    page:number,
    limit:number
}
